package com.gitee.wsl.func.callback

/**
 * A common callback for listening for completions with a value
 */
fun interface SuccessCallback<in T> {

    /**
     * Notifies the host (typically an [Observer]) about completion with a value
     */
    fun onSuccess(value: T)
}
